<?php
class SitemapController extends Controller
{
	public function actionIndex()
	{
		$items = array();
		$items = array_merge($items, InnerLink::model()->findAll());
		$items = array_merge($items, Home::model()->published()->findAll());
		// сюда еще кучу добавить можно
		
		$this->renderPartial('index', array(
			'host'=>Yii::app()->request->hostInfo,
			'items'=>$items,
		));
	}
	
	
}